namespace DotNetNuke.Entities.Modules.Actions
{
    using System;

    /// -----------------------------------------------------------------------------
    /// Project		: DotNetNuke
    /// Class		: ModuleActionEventListener
    /// 
    /// -----------------------------------------------------------------------------
    /// <summary>
    /// </summary>
    /// <remarks></remarks>
    /// <history>
    /// [jbrinkman] 	12/27/2003	Created
    /// </history>
    /// -----------------------------------------------------------------------------
    public class ModuleActionEventListener
    {
        private ActionEventHandler _actionEvent;
        private int _moduleID;

        /// -----------------------------------------------------------------------------
        /// <summary>
        /// </summary>
        /// <param name="ModID"></param>
        /// <param name="e"></param>
        /// <remarks></remarks>
        /// <history>
        /// [jbrinkman] 	12/27/2003	Created
        /// </history>
        /// -----------------------------------------------------------------------------
        public ModuleActionEventListener(int ModID, ActionEventHandler e)
        {
            this._moduleID = ModID;
            this._actionEvent = e;
        }

        /// -----------------------------------------------------------------------------
        /// <summary>
        /// </summary>
        /// <value></value>
        /// <remarks></remarks>
        /// <history>
        /// [jbrinkman] 	12/27/2003	Created
        /// </history>
        /// -----------------------------------------------------------------------------
        public ActionEventHandler ActionEvent
        {
            get
            {
                return this._actionEvent;
            }
        }

        /// -----------------------------------------------------------------------------
        /// <summary>
        /// </summary>
        /// <value></value>
        /// <remarks></remarks>
        /// <history>
        /// [jbrinkman] 	12/27/2003	Created
        /// </history>
        /// -----------------------------------------------------------------------------
        public int ModuleID
        {
            get
            {
                return this._moduleID;
            }
        }
    }
}

